# -*-makefile-*-
# ----------------------------------------------------------------------- 
#  Copyright  2005 Dietmar Khl, All Rights Reserved                     
#                                                                         
#  Permission to use, copy, modify, distribute and sell this              
#  software for any purpose is hereby granted without fee, provided       
#  that the above copyright notice appears in all copies and that         
#  both that copyright notice and this permission notice appear in        
#  supporting documentation. Dietmar Khl makes no representations about  
#  the suitability of this software for any purpose. It is provided       
#  "as is" without express or implied warranty.                           
# ----------------------------------------------------------------------- 

# Author:  Dietmar Kuehl http://www.dietmar-kuehl.de 
# Title:   Makefile for the segmented experiments

# ----------------------------------------------------------------------- 

CC = $(CXX)
CXXFLAGS = -O2

default: time-segmented
	./time-segmented
segmented: segmented.o
time-segmented: time-segmented.o

# ----------------------------------------------------------------------- 

clean:
	$(RM) segmented.o time-segmented.o
	$(RM) make.depend
	$(RM) *~ olderr mkerr

distclean: clean
	$(RM) segmented
	$(RM) time-segmented

depend make.depend:
	$(CXX) -M time-segmented.cpp segmented.cpp > make.depend

include make.depend
